package com.xca.znb.presenter;

import com.xca.znb.entity.Goods;
import com.xca.znb.model.imodel.ISearch;

import java.util.List;

public class SearchPresenter {
    private ISearch iSearch ;
    public SearchPresenter(ISearch iSearch){this.iSearch = iSearch ;}
    public List<Goods> searchGoodsByName(String input){
        return iSearch.searchGoodsByName(input);
    }
}
